package cn.iune.erp.customer;


import java.sql.SQLException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

public interface IFileCustomerAddressDao{
	
	public void insert(FileCustomerAddress obj);
	
	public void delete(String fID);

	public FileCustomerAddress update(FileCustomerAddress obj) ;

	public List<FileCustomerAddress> getAll();
	
	public FileCustomerAddress getByID(String fID);
	
	FileCustomerAddress getByNo(String fAddressName, String factoryID);

	List<FileCustomerAddress> getByMasterID(String fMasterID);

	JSONObject queryUNION(JSONObject data) throws Throwable;

	JSONObject query(JSONObject data) throws SQLException;

	JSONObject create(JSONObject data);

}
